package com.liull.netty.itcast.nio;

import java.io.FileNotFoundException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;

/**
 * @Author: liull
 * @Description: nio之内存映射
 * @Date: Created in 21:24 2020/10/18
 * @Modified By:
 */
public class NioTest {
    public static void main(String[] args) throws FileNotFoundException {
        RandomAccessFile randomAccessFile = new RandomAccessFile("NioTest", "rw");
        FileChannel fileChannel = randomAccessFile.getChannel();
    }
}
